package com.warmheart.entity.sys;

import com.warmheart.base.entity.BaseEntity;
import com.warmheart.builder.sys.SysConfigCoBuilder;
import com.warmheart.builder.sys.SysConfigRsBuilder;

/**
 * 
 * @ClassName: SysConfig
 * @Description: 参数配置实体类，对应表名称为tb_sys_config
 *               温馨提示：不要修改该实体类的任何字段
 * @author ZhangJianyang
 * @date 2025-06-16 09:37:02
 *
 */
public class SysConfig extends BaseEntity<SysConfigCoBuilder, SysConfigRsBuilder> {

	private static final long serialVersionUID = 1L;
	
	/**
     * 
     * @Title: tableName
     * @Description: 表名称
     * @author ZhangJianyang
     * @return
     */
    @Override
    public String tableName() {
        return "tb_sys_config";
    }

    public SysConfigCoBuilder coBuilder() {
        return new SysConfigCoBuilder(this);
    }
    
    public SysConfigRsBuilder rsBuilder() {
        return new SysConfigRsBuilder(this);
    }
	
    /**
     * 配置参数键
     */
    private String configKey;

    /**
     * 配置参数值
     */
    private String configValue;

    /**
     * 
     * @Title: getConfigKey
     * @Description: 配置参数键getter方法
     * @author ZhangJianyang
     * @return
     */
    public String getConfigKey(){
        return configKey;
    }
    
    /**
     * 
     * @Title: setConfigKey
     * @Description: 配置参数键setter方法
     * @author ZhangJianyang
     * @param configKey
     */
    public void setConfigKey(String configKey){
        this.configKey = configKey;
    }

    /**
     * 
     * @Title: getConfigValue
     * @Description: 配置参数值getter方法
     * @author ZhangJianyang
     * @return
     */
    public String getConfigValue(){
        return configValue;
    }
    
    /**
     * 
     * @Title: setConfigValue
     * @Description: 配置参数值setter方法
     * @author ZhangJianyang
     * @param configValue
     */
    public void setConfigValue(String configValue){
        this.configValue = configValue;
    }
}
